//
//  QDTSuccessVC.m
//  QoilPublic
//
//  Created by 杨凯 on 16/12/20.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import "QDTSuccessVC.h"
#import "QMySelfVC.h"
@interface QDTSuccessVC ()

@end

@implementation QDTSuccessVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"提交成功";
    
    self.automaticallyAdjustsScrollViewInsets = NO;
    UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, kNavHeight+kStatusHeight, kScreenWidth,0.281*kScreenHeight)];
    imageView.image = [UIImage imageNamed:@"dtsuccess_image"];
    
    [self.view addSubview:imageView];
}

- (void)back{

    for (UIViewController *controller in self.navigationController.viewControllers){
        if ([controller isKindOfClass:[QMySelfVC class]]){
            [self.navigationController popToViewController:controller animated:YES];
        }
    }
}


@end
